<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="UTF-8"/>
    <title>统一页面异常处理</title>
</head>
<body>
<a href="http://www.u8.work" >返回首页</a><p />
<h1>统一页面异常处理</h1>
<div th:text="'错误码：'+${code}"></div>
<div th:text="'错误信息：'+${message}"></div>
</body>
</html>

